<template>
  <view class="container">
    <web-view :src="url"></web-view>
  </view>
</template>

<script>
export default {
  name: 'wx_pages_webview_webview',
  data() {
    return {
      url: ''
    }
  },
  onLoad(options) {
    this.url = decodeURIComponent(options.url);
  }
}
</script>

<style>
.container {
  flex: 1;
}
</style> 